{php $copyright = m('common')->getCopyright(true)}

<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>{if !empty($copyright) && !empty($copyright['title'])}{$copyright['title']}{/if}</title>
        <link rel="shortcut icon" href="{$_W['siteroot']}{$_W['config']['upload']['attachdir']}/{if !empty($_W['setting']['copyright']['icon'])}{$_W['setting']['copyright']['icon']}{else}images/global/wechat.jpg{/if}" />
        <link href="{php echo EWEI_SHOPV2_LOCAL}static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
        <link href="{php echo EWEI_SHOPV2_LOCAL}static/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
        <link href="{php echo EWEI_SHOPV2_LOCAL}static/css/animate.css" rel="stylesheet">
        <link href="{php echo EWEI_SHOPV2_LOCAL}static/css/v2.css?v=4.1.0" rel="stylesheet">
		<link type="text/css" rel="stylesheet" href="../web/static/mobapps/css/font-awesome-04425bbd.css">
        <link href="{php echo EWEI_SHOPV2_LOCAL}static/css/common.css?v=2.0.0" rel="stylesheet">
        <link rel="stylesheet" type="text/css" href="{php echo EWEI_SHOPV2_LOCAL}static/fonts/iconfont.css?v=2016070717">
        <script src="./resource/js/lib/jquery-1.11.1.min.js"></script>
        <script src="{php echo EWEI_SHOPV2_LOCAL}static/js/dist/jquery/jquery.gcjs.js"></script>
        <script src="./resource/js/app/util.js"></script>

		<style>
			body{
				min-width:825px!important;
			}
		</style>
        <script src="{php echo EWEI_SHOPV2_LOCAL}static/js/require.js"></script>
        <script src="./resource/js/app/config.js"></script>
        <script>
            require.config({
                waitSeconds: 0
            });
        </script>
        <script src="{php echo EWEI_SHOPV2_LOCAL}static/js/myconfig.js"></script>
        <script type="text/javascript">
                if (navigator.appName == 'Microsoft Internet Explorer') {
                    if (navigator.userAgent.indexOf("MSIE 5.0") > 0 || navigator.userAgent.indexOf("MSIE 6.0") > 0 || navigator.userAgent.indexOf("MSIE 7.0") > 0) {
                        alert('您使用的 IE 浏览器版本过低, 推荐使用 Chrome 浏览器或 IE8 及以上版本浏览器.');
                    }
                }
                myrequire.path = "{$_W['siteroot']}addons/ewei_shopv2/static/js/";
                
            function preview_html(txt)
            {
                var win = window.open("", "win", "width=300,height=600"); // a window object
                win.document.open("text/html", "replace");
                win.document.write($(txt).val());
                win.document.close();
            }
        </script>

    </head>


    <body class="white-bg ">
        <div id='topbar' class='gray-bg header'>
            <nav class="navbar   gray-bg " role="navigation" style="">
                <div class="navbar-header" style="width:140px;">
                    <button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button">
                        <i class="fa fa-reorder"></i>
                    </button>
		    {if !empty($copyright) && !empty($copyright['logo'])}
		    <a style='padding:0;overflow:hidden;'><img src="{php echo tomedia($copyright['logo'])}" style='width:150px;height:50px;' /></a>
		    {else}
		    <a class="navbar-brand" href="{php echo webUrl()}"><img style="width:84px;" src="../addons/ewei_shopv2/static/images/logo.png"/></a>
		    {/if}
		</div>